FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER cui_com@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /zdkj-gateway

WORKDIR /zdkj-gateway

EXPOSE 9999

ADD ./zdkj-gateway/target/zdkj-gateway.jar ./

CMD sleep 120;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar zdkj-gateway.jar
